/**
 * Created by Administrator on 2017/11/16.
 */
const mongoose = require('../lib/mongo');
const Schema = mongoose.Schema;

const CompanySchema = new Schema({
  username: {
    type: String
  }, // 发布账号
  name: {
    type: String
  }, //公司名称
  type: {
    type: String
  }, // 公司类型
  address: {
    type: String
  }, // 地址
  basicInfo: {
    type: String
  }, // 基本信息
});

module.exports = mongoose.model('Company', CompanySchema);
